add_rules("mode.debug", "mode.release")

target("jump_stairs")
set_kind("binary")
add_files("src/jump_stairs.cpp")

target("find_numbers")
set_kind("binary")
add_files("src/find_numbers.cpp")

target("perfect_num")
set_kind("binary")
add_files("src/perfect_num.cpp")

target("sort")
set_kind("binary")
add_files("src/sort.cpp")

target("combination")
set_kind("binary")
add_files("src/combination.cpp")

target("tree_preorder")
set_kind("binary")
add_files("src/tree_preorder.cpp")

target("max_subseq")
set_kind("binary")
add_files("src/max_subseq.cpp")

target("hanoi")
set_kind("binary")
add_files("src/hanoi.cpp")

includes("src/raydemo")

includes("basic")

target("all")
set_kind("phony")
add_deps("sort")
add_deps("find_numbers")
add_deps("perfect_num")
add_deps("jump_stairs")
add_deps("combination")
add_deps("tree_preorder")
add_deps("max_subseq")
